package com.catmiw.stock2013.util;

import java.io.IOException;
import java.util.Properties;

public class PropertyManager {
	private static Properties properties=new Properties();
	static {
		try {
			properties.load(PropertyManager.class.getClassLoader()
					.getResourceAsStream("stock.properties"));
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	private PropertyManager(){}
	
	public static String getProperty(String key){
		return properties.getProperty(key);
	}
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
